package kr.hkit.powerjava.chapter24.work2;

import java.util.Scanner;

public class ServiceStudent {
	
	private StudentDao dao;
	private Scanner sc;
	public ServiceStudent(){
		dao= new StudentDao();
		sc = new Scanner(System.in);
		init();
	}
	private void init() {
		dao.loadFile();
		prnMenu();
		
	}
	private void prnMenu() {
		int res = 0;
		Student std = null;
		do {
			System.out.print("1.입력\n2.삭제\n3.수정\n4.검색\n5.목차\n6.종료");
			res=sc.nextInt();
			switch(res){
				case 1:
					break;
				case 2:
					break;
				case 3:
					break;
				case 4:
					break;
				case 5:
					break;
				case 6:
					break;
				default :
					res = 6;
			}
		}while(res = < 6);
		
	}
	
}
